export interface PermissionItem {
  id: string;
  // "gmtCreate": string,
  // "gmtModified": string,
  // "deleted": boolean,
  pid: string; // 父级分类id
  name: string;
  code: string;
  // "toCode": null,
  // "status": null,
  type: number; // 按钮类型是2，其他是1
  level: number;
  children: PermissionList;
  select: boolean; // true代表有访问权限
}

export type PermissionList = PermissionItem[];

export interface getRolePermissionListResponse {
  children: PermissionList;
}
